package com.gin.soul.pojo;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@ToString
@Table(name = "t_es_enterprise")
public class TagEsEnterpriseDO {
    /**
     * 企业号
     */
    @Id
    private String vid;

    /**
     * 企业号
     */
    @Column(name = "ent_id")
    private String entId;

    /**
     * 企业名称
     */
    @Column(name = "ent_name")
    private String entName;

    /**
     * 企业统一社会信用代码
     */
    @Column(name = "unisc_id")
    private String uniscId;

    /**
     * 创建时间
     */
    @Column(name = "date_created")
    private Date dateCreated;

    /**
     * 创建人
     */
    @Column(name = "created_by")
    private String createdBy;

    /**
     * 修改时间
     */
    @Column(name = "date_updated")
    private Date dateUpdated;

    /**
     * 修改人
     */
    @Column(name = "updated_by")
    private String updatedBy;

    public TagEsEnterpriseDO() {
    }

    public TagEsEnterpriseDO(String vid) {
        this.vid = vid;
    }
}